package dao

import "github.com/ego-component/egorm"

func InitTables(db *egorm.Component) error {
	return db.AutoMigrate(
		&User{},
		&Message{},
		&Channel{},
		&ChannelMember{},
		&UserChannelReadRecord{})
}
